package com.ucs.domain;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;


public class Category implements Serializable{
	private static final long serialVersionUID = 1L;
	private List<Item> items = new ArrayList<Item>();
	private int categoryID=0;
	private int sequenceNum=0;
	private String name1="";
	private String name2="";
	private String fontColor="- 16777216";
	private String backColor="- 1";
	
	public void setCategoryID(int categoryID) {
		this.categoryID = categoryID;
	}
	public int getCategoryID() {
		return categoryID;
	}
	public void setSequenceNum(int sequenceNum) {
		this.sequenceNum = sequenceNum;
	}
	public int getSequenceNum() {
		return sequenceNum;
	}
	public void setName1(String name1) {
		this.name1 = name1;
	}
	public String getName1() {
		return name1;
	}
	public void setName2(String name2) {
		this.name2 = name2;
	}
	public String getName2() {
		return name2;
	}
	public void setFontColor(String fontColor) {
		this.fontColor = fontColor;
	}
	public String getFontColor() {
		return fontColor;
	}
	public void setBackColor(String backColor) {
		this.backColor = backColor;
	}
	public String getBackColor() {
		return backColor;
	}
//	@SuppressWarnings("unchecked")
//	public static void main(String[] args) throws Exception{
//		InputStream is = Thread.currentThread().getContextClassLoader().getResourceAsStream("SqlMapConfig_food.xml");
//		SqlMapClient sqlMapClient = SqlMapClientBuilder.buildSqlMapClient(is);
//		
//		List l = sqlMapClient.queryForList("selectActiveCategory");
//		System.out.println(RestUtil.toXML(l));
//	}
//
	public void setItems(List<Item> items) {
		this.items = items;
	}
	public List<Item> getItems() {
		return items;
	}

}
